package com.sh.util;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 抽象菜单对象
 */
@Data
@AllArgsConstructor/*添加所有类型的构造器*/
public class Menu implements Serializable {
    /*菜单名字*/
    private String menuName;
    /*菜单跳转的路径*/
    private String menuUrl;
    /*菜单等级*/
    private Integer menuLevel;
    /*菜单Id*/
    private Integer menuId;
    /*路径名字*/
    private String pathName;
    /*组件路径*/
    private String componentPath;

    /*菜单图标*/
    private String menuIcon;

    /*菜单的子菜单*/
    private List<Menu> subMenu;
}
